package com.dhl.fin.api.dao;

import com.dhl.fin.api.common.dto.QueryDto;
import com.dhl.fin.api.domain.ConsultChat;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;

public interface ConsultChatDao {
    int deleteByPrimaryKey(ConsultChat record);

    int insert(ConsultChat record);

    int insertSelective(ConsultChat record);

    List<ConsultChat> selectPageQuery(QueryDto queryDto);

    List<ConsultChat> selectSelective(QueryDto queryDto);

    int selectCount(QueryDto queryDto);

    ConsultChat selectOne(QueryDto queryDto);

    ConsultChat selectByPrimaryKey(Map data);

    int updateByPrimaryKeySelective(@Param("domain")ConsultChat record, @Param("query")QueryDto queryDto);

    int updateByPrimaryKey(ConsultChat record);
}